//
//  GCCoversationDetailViewController.m
//  GoldChampion
//
//  Created by Mac on 2018/5/17.
//  Copyright © 2018年 stoneobs@icloud.com. All rights reserved.
//

#import "TMCoversationDetailViewController.h"

@interface TMCoversationDetailViewController ()

@end

@implementation TMCoversationDetailViewController
- (void)setTextMessage:(NSString *)textMessage{
    _textMessage = textMessage;
    if (textMessage.length) {
        RCTextMessage * contet = [RCTextMessage messageWithContent:textMessage];
        RCUserInfo * user = STUserManger.defult.loginedUser.userInfo;
        contet.senderUserInfo = user;
        [self sendMessage:contet pushContent:@""];
    }

}
- (void)viewDidLoad {
    [super viewDidLoad];
//    [TMUtils fecthUserModelWithUserId:self.targetId handle:^(GCUserModel *user) {
//        self.title = user.nickname;
//        [[RCIM sharedRCIM] refreshUserInfoCache:user.userInfo withUserId:user.userID.description];
//    }];
   
    // Do any additional setup after loading the view.
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
